package com.itheima.domain;

import java.io.Serializable;
import java.util.Date;

public class UserAccount implements Serializable {
    private Integer id;
    private String username;
    private Integer gender;
    private String idcard;
    private String from_address;
    private String to_address;
    private Date start_time;

    public UserAccount(Integer id, String username, Integer gender, String idcard, String from_address, String to_address, Date start_time) {
        this.id = id;
        this.username = username;
        this.gender = gender;
        this.idcard = idcard;
        this.from_address = from_address;
        this.to_address = to_address;
        this.start_time = start_time;
    }

    public UserAccount() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getFrom_address() {
        return from_address;
    }

    public void setFrom_address(String from_address) {
        this.from_address = from_address;
    }

    public String getTo_address() {
        return to_address;
    }

    public void setTo_address(String to_address) {
        this.to_address = to_address;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    @Override
    public String toString() {
        return "UserAccount{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", gender=" + gender +
                ", idcard='" + idcard + '\'' +
                ", from_address='" + from_address + '\'' +
                ", to_address='" + to_address + '\'' +
                ", start_time=" + start_time +
                '}';
    }
}
